// 设置页面title显示
export const setPageTitle = (state: MgState, title: string): void => {
    state.pageTitle = title
}

export const toggleHeader = (state: MgState, status: boolean): void => {
    state.headerStatus = status
}

